<div class="row">
    <div class="span2">
        {% if user.sexe == "f" %}
            <img src="{{ asset('img/femme.png') }}" alt="Femme" />
        {% else %}
            <img src="{{ asset('img/homme.png') }}" alt="Homme" />
        {% endif %}

        </div>
        <div class="fos_user_user_show span5">
            <table>
                <tr>
                    <td>{{ 'profile.show.username'|trans({}, 'FOSUserBundle') }} :</td><td>{{ user.username }}</td>
                </tr>
                <tr>
                    <td>{{ 'profile.show.nom'|trans({}, 'FOSUserBundle') }} :</td><td>{{ user.nom }}</td>
                </tr>
                <tr>
                    <td>{{ 'profile.show.prenom'|trans({}, 'FOSUserBundle') }} :</td><td>{{ user.prenom }}</td>
                </tr>
                <tr>
                    <td>{{ 'profile.show.email'|trans({}, 'FOSUserBundle') }} :</td><td>{{ user.email }}</td>
                </tr>
                <tr>
                    <td>{{ 'profile.show.sexe'|trans({}, 'FOSUserBundle') }} :</td><td>{% if user.sexe == "f" %}<img src="{{ asset('img/female_sign.png') }}" alt="Femme" />{% else %}<img src="{{ asset('img/male_sign.png') }}" alt="Homme" />{% endif %}</td>
                </tr>
                <tr>
                    <td>{{ 'profile.show.age'|trans({}, 'FOSUserBundle') }} :</td><td>{{ user.age }}</td>
                </tr>
                <tr>
                    <td>{{ 'profile.show.ville'|trans({}, 'FOSUserBundle') }} :</td><td>{{ user.ville }}</td>
                </tr>
                <tr>
                    <td>{{ 'profile.show.codeP'|trans({}, 'FOSUserBundle') }} :</td><td>{{ user.codeP }}</td>
                </tr>
                <tr>
                    <td>Acompte :</td><td>{{ user.acompte }} &euro; <a href="{{ path('mcm_compte_acompte') }}">Commander votre bon</a>
                    </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="text-align: right"><button type="button" class="btn btn-success" onclick="window.location='{{path("fos_user_profile_edit")}}'">Mettre à jour</button></td>
                    </tr>
                </table>
            </div>
        </div>
